package com.house.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.house.common.to.UserTo;
import com.house.common.utils.PageUtils;
import com.house.auth.entity.PowerEntity;
import com.house.common.utils.R;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 
 *
 * @author yangxinyu
 * @email yangxinyu03201@gmail.com
 * @date 2022-04-22 13:40:34
 */
public interface PowerService extends IService<PowerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R createToken(UserTo user);

    R getId(HttpServletRequest request);

    R feignGetId(String token);
}

